﻿// =================================================================== 
// 模块说明
//====================================================================
// 创建时间：2018-12-04 10:34:06
// 负责人：Sushee
// ===================================================================
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq.Expressions;
using Microsoft.Practices.EnterpriseLibrary.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using System.Text;
namespace OF.Component.DAL
{
	
	/// <summary>
	///OP用户信息表 数据访问层
	/// </summary>	
	internal partial class AuthorityUserInfor
	{		
    
        /// <summary>
    	/// 根据断言条件获取单个OP用户信息表
    	/// </summary>
        public AuthorityUserInforInfo QuerySingle(Expression<Func<AuthorityUserInforInfo, bool>> predicate)
	    {
            return SQLServerProvider.CreateObject(ConnectionStringKey, predicate);
        }
        /// <summary>
    	/// 根据断言条件获获取OP用户信息表列表
    	/// </summary>
	    public IList<AuthorityUserInforInfo> QueryList(Expression<Func<AuthorityUserInforInfo, bool>> predicate)
	    {
	        return SQLServerProvider.CreateList(ConnectionStringKey, predicate);
	    }

        

    }
	
}